<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/2 0002
 * Time: 11:17
 */

namespace app\index\controller;


use think\Controller;

class About extends Controller
{
    public function index(){
        $title = db("title")->where("pid",0)->select();
        $this->assign("title",$title);
        $this->assign("action","about");
        $this_title = db("title")->where("action","about")->find();
        $this->assign("this_title",$this_title);
        $about = db("about")->select();
        $this->assign("about",$about);
        $about_menu = db("about_menu")->select();
        $this->assign("about_menu",$about_menu);
        return view("index");
    }
}